﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HallTimer.Interfaces;

namespace HallTimer.Models
{
    /// <summary>
    /// Engine that can be used multiple times during program execution...
    /// => that's why callback is added in Constructor - multiple times being able to make a callback message (on end of the song)
    /// </summary>
    public class LiedEngine
    {
        public ISongEndCallback Callback { get; set; }

        public LiedEngine(ISongEndCallback callback)
        {
            this.Callback = callback;
        }

        public void PlaySong(int number)
        {

        }

        public void EndReached()
        {
            Callback.EndingSongPlayback();
        }
    }
}
